package com.edmendst.xmall.mapper;

import com.edmendst.xmall.pojo.ProductImage;
import com.edmendst.xmall.pojo.ProductImageExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductImageMapper {
    long countByExample(ProductImageExample example);

    int deleteByExample(ProductImageExample example);

    int deleteByPrimaryKey(Integer imageId);

    int insert(ProductImage row);

    int insertSelective(ProductImage row);

    List<ProductImage> selectByExample(ProductImageExample example);

    ProductImage selectByPrimaryKey(Integer imageId);

    int updateByExampleSelective(@Param("row") ProductImage row, @Param("example") ProductImageExample example);

    int updateByExample(@Param("row") ProductImage row, @Param("example") ProductImageExample example);

    int updateByPrimaryKeySelective(ProductImage row);

    int updateByPrimaryKey(ProductImage row);
}